package com.data.center.entity;

import lombok.Data;

import java.util.Arrays;
import java.util.Date;

/**
 * @author Li_Jx
 * @description:
 * @date 2024/1/15 15:43
 */
@Data
public class Education {
    private String id;
    private String personId;
    private String educationId;
    private String organizationId;
    private String department;
    private Date startDate;
    private Date endDate;
    // 是否全日制（0-未知，1-是，2-否）
    private String isFulltime;
    private String discipline;
    private String major;
    private String degree;
    private String schooling;
    private byte[] graduationCertificate;
    private byte[] degreeCertificate;

    @Override
    public String toString() {
        return "Education{" +
                "id='" + id + '\'' +
                ", personId='" + personId + '\'' +
                ", educationId='" + educationId + '\'' +
                ", organizationId='" + organizationId + '\'' +
                ", department='" + department + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", isFulltime='" + isFulltime + '\'' +
                ", discipline='" + discipline + '\'' +
                ", major='" + major + '\'' +
                ", degree='" + degree + '\'' +
                ", schooling='" + schooling + '\'' +
                ", graduationCertificate=" + Arrays.toString(graduationCertificate) +
                ", degreeCertificate=" + Arrays.toString(degreeCertificate) +
                '}';
    }
}
